// To parse this JSON data, do
//
//     final httpResponseData = httpResponseDataFromJson(jsonString);

import 'package:freezed_annotation/freezed_annotation.dart';
import 'dart:convert';

part 'http_response_data.freezed.dart';
part 'http_response_data.g.dart';

HttpResponseData httpResponseDataFromJson(String str) => HttpResponseData.fromJson(json.decode(str));

String httpResponseDataToJson(HttpResponseData data) => json.encode(data.toJson());

@freezed
abstract class HttpResponseData with _$HttpResponseData {
  const factory HttpResponseData({
    @JsonKey(name: "zhuangtai")
    required String zhuangtai,
    @JsonKey(name: "xinxi")
    required String xinxi,
    @JsonKey(name: "cuowuma")
    required int cuowuma,
    @JsonKey(name: "jieguo")
    required dynamic jieguo,
  }) = _HttpResponseData;

  factory HttpResponseData.fromJson(Map<String, dynamic> json) => _$HttpResponseDataFromJson(json);
}
